package com.mrdeer.user.api.dto.authorization;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @author ：xie jianchu
 * @date ：Created in 2020/9/7 0007 14:46
 */
@Data
@ApiModel(value = "PrivilegeDTO", description = "权限集合")
public class PrivilegeDTO implements Serializable {
    private static final long serialVersionUID = 4383997424877775292L;

    @ApiModelProperty("权限ID")
    private Long id;

    @ApiModelProperty("权限名称")
    private String name;

    @ApiModelProperty("权限编码")
    private String code;

    @ApiModelProperty("所属权限组ID")
    private Long privilegeGroupId;
}
